package cn.zfgc.jfinal.config;

import cn.zfgc.jfinal.controller.Qrcode;
import cn.zfgc.jfinal.handler.WebSocketHandler;
import cn.zfgc.jfinal.kit.Prop;
import cn.zfgc.jfinal.kit.PropKit;
import cn.zfgc.jfinal.render.ViewType;
import cn.zfgc.jfinal.template.Engine;

/**
 * Created by wangwang on 2017/3/6 0006.
 */
public class InitConfig extends JFinalConfig {
    public void configConstant(Constants me) {
    }

    public void configRoute(Routes me) {
        me.add("/qrcode", Qrcode.class);
    }

    @Override
    public void configEngine(Engine engine) {

    }

    public void configPlugin(Plugins me) {
    }

    public void configInterceptor(Interceptors me) {
    }

    public void configHandler(Handlers me) {
        me.add(new WebSocketHandler("/websocket"));
    }

}
